package com.eCommercecorecontract.svco;

import java.util.List;
import java.util.Set;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.eCommerce.corecontract.criteria.UserCriteria;
import com.eCommerce.corecontract.dto.UserDTO;
import com.eCommerce.corecontract.exception.EcommerceException;


public interface IUserSVCO extends IServiceComposed{

	 public Long creerUser(UserDTO userDTO)throws EcommerceException;
	 public List listerUsers()throws EcommerceException;
	 public void modifierUser(UserDTO userDTO)throws EcommerceException;
	 public List rechercherUsers(UserCriteria userCriteria)throws EcommerceException;
	 public void supprimerUsers(Set<UserDTO> setOfUserDTO, UserDTO userConnected)throws EcommerceException;
	 public UserDTO visualiserUser(UserDTO userDTO)throws EcommerceException;
	 public UserDTO seConnecter(UserDTO userDTO)throws EcommerceException;
}
